package com.bfxy.rabbit.producer.constant;

/**
 * 标记消息的发送状态
 * @author zhengdp
 */
public enum BrokerMessageStatus {
    SENDING("0"),
    SEND_OK("1"),
    SEND_FAIL("2"),
    SEND_FAIL_A_MOMENT("3");
    private String code;

    private BrokerMessageStatus(String code){
        this.code = code;
    }

    public String getCode(){
        return this.code;
    }
}
